﻿using Ducu.BLL.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ducu.SRV.Query
{
    public static class OnRegister
    {
        public static IQueryable<Register> GetPassword(
            this IQueryable<Register> source, string userName)
        {
            return source.Where(r=>r.UserName == userName);
        }
    }
}
